Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds support for disabling Backup Compliance Policy on resource delete #2953

Merged
merged 5 commits into from
Jan 14, 2025

Conversation

AgustinBettati
Copy link
Member

@AgustinBettati AgustinBettati commented Jan 10, 2025

Description

Link to any related issue(s): CLOUDP-294102 (supporting new delete operation), CLOUDP-293109 (docs clarification)

Tested locally (cloud-dev) that the removal of the resource effectively disabled the Backup Compliance Policy in Atlas UI. In cloud-dev there is no pre-requisite of Disablement Approval. Internal KB has all the details of the process, mentioning how API delete operation fits in.

Type of change:

  • Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
  • New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR. A migration guide must be created or updated if the new feature will go in a major version.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR. A migration guide must be created or updated.
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the contributing guides
  • I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code
  • If changes include deprecations or removals I have added appropriate changelog entries.
  • If changes include removal or addition of 3rd party GitHub actions, I updated our internal document. Reach out to the APIx Integration slack channel to get access to the internal document.

Further comments

@AgustinBettati AgustinBettati marked this pull request as ready for review January 10, 2025 11:45
@AgustinBettati AgustinBettati requested review from a team as code owners January 10, 2025 11:45
Copy link
Contributor

APIx bot: a message has been sent to Docs Slack channel

Copy link
Collaborator

@themantissa themantissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small docs change, one question

Co-authored-by: Melissa Plunkett <themantissa@users.noreply.github.com>
Copy link
Contributor

@davidhou17 davidhou17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after small copy nit

docs/resources/backup_compliance_policy.md Outdated Show resolved Hide resolved
@AgustinBettati
Copy link
Member Author

AgustinBettati commented Jan 13, 2025

running tests in qa as dev is currently unstable: https://github.com/mongodb/terraform-provider-mongodbatlas/actions/runs/12752331915

Copy link
Collaborator

@themantissa themantissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick edits.

@AgustinBettati AgustinBettati merged commit 22f7fb0 into master Jan 14, 2025
66 of 67 checks passed
@AgustinBettati AgustinBettati deleted the CLOUDP-294102 branch January 14, 2025 08:43
svc-apix-Bot added a commit that referenced this pull request Jan 14, 2025
lantoli added a commit that referenced this pull request Jan 16, 2025
* master:
  doc: Uses weekly option in cloud backup schedule documentation (#2963)
  chore: Bump tj-actions/verify-changed-files (#2965)
  chore: Bump srvaroa/labeler from 1.12.0 to 1.13.0 (#2966)
  chore: Bump peter-evans/create-pull-request from 7.0.5 to 7.0.6 (#2967)
  chore: Bump github.com/pb33f/libopenapi from 0.19.1 to 0.20.0 (#2968)
  chore: Bump github.com/zclconf/go-cty from 1.16.0 to 1.16.1 (#2969)
  fix: Updates test to use old schema for data sources in AWS provider configuration (#2962)
  chore: Uses backend default for zoneName to make tenantUpgrade pass on SDKv2 (#2952)
  chore: Refactors test checks to only run for TPF due to `[]` in SDKv2 for computed specs (#2955)
  chore: Ensures advanced configuration updates trigger wait for completion (#2954)
  chore: Remove usage of fixed 2024-08-05 version in cluster resource and ensure auto scaling mode is not impacted (#2918)
  chore: Updates CHANGELOG.md for #2953
  feat: Adds support for disabling Backup Compliance Policy on resource delete (#2953)
  chore: Improves Makefile help (#2958)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants